home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- global act, LocX, LocY
- if act = 0 then
- if rollOver(42) or rollOver(43) then
- cursor([901, 902])
- else
- HotSpots(3, 28)
- end if
- set rand to (the timer mod 13) + 1
- set localX to getAt(LocX, rand)
- set localY to getAt(LocY, rand)
- set the locH of sprite 2 to localX
- set the locV of sprite 2 to localY
- end if
- if act = 1 then
- if rollOver(45) or rollOver(46) then
- cursor([901, 902])
- else
- cursor(-1)
- end if
- end if
- Loopframe()
- end
-